﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SmartHotel.Dto
{
    /// <summary>
    /// 返回结果
    /// </summary>
    public class ResultDto
    {
        public Result Code { get; set; }
        public string Message { get; set; }
    }
    public class ResultDto<T> : ResultDto
    { 
        public object Data { get; set; }
    }
    public enum Result
    {
        Success = 200,
        Failed = 500
    }
}
